# 写一个异常习题案例
def f1():
    print("f1")
    raise Exception("f1")

def f2():
    print("f2")
    f1()

def f3():
    print("f3")
    f2()

try:
    f3()
except Exception as e:
    print(e)